﻿using FontAwesome.WPF;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace Koala.Pro.Controls
{
    public partial class InfoCard : UserControl
    {
        public static readonly DependencyProperty TitleProperty = DependencyProperty.Register("Title", typeof(string), typeof(InfoCard));

        public static readonly DependencyProperty NumberProperty = DependencyProperty.Register("Number", typeof(string), typeof(InfoCard));

        public static readonly DependencyProperty IconProperty = DependencyProperty.Register("Icon", typeof(FontAwesomeIcon), typeof(InfoCard));

        public static readonly DependencyProperty Background1Property = DependencyProperty.Register("Background1", typeof(Color), typeof(InfoCard));

        public static readonly DependencyProperty Background2Property = DependencyProperty.Register("Background2", typeof(Color), typeof(InfoCard));

        public static readonly DependencyProperty EllipseBackground1Property = DependencyProperty.Register("EllipseBackground1", typeof(Color), typeof(InfoCard));

        public static readonly DependencyProperty EllipseBackground2Property = DependencyProperty.Register("EllipseBackground2", typeof(Color), typeof(InfoCard));

        public string Title
        {
            get
            {
                return (string)GetValue(TitleProperty);
            }
            set
            {
                SetValue(TitleProperty, value);
            }
        }

        public string Number
        {
            get
            {
                return (string)GetValue(NumberProperty);
            }
            set
            {
                SetValue(NumberProperty, value);
            }
        }

        public FontAwesomeIcon Icon
        {
            get
            {
                return (FontAwesomeIcon)GetValue(IconProperty);
            }
            set
            {
                SetValue(IconProperty, value);
            }
        }

        public Color Background1
        {
            get
            {
                return (Color)GetValue(Background1Property);
            }
            set
            {
                SetValue(Background1Property, value);
            }
        }

        public Color Background2
        {
            get
            {
                return (Color)GetValue(Background2Property);
            }
            set
            {
                SetValue(Background2Property, value);
            }
        }

        public Color EllipseBackground1
        {
            get
            {
                return (Color)GetValue(EllipseBackground1Property);
            }
            set
            {
                SetValue(EllipseBackground1Property, value);
            }
        }

        public Color EllipseBackground2
        {
            get
            {
                return (Color)GetValue(EllipseBackground2Property);
            }
            set
            {
                SetValue(EllipseBackground2Property, value);
            }
        }

        public InfoCard()
        {
            InitializeComponent();
        }
    }
}
